home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / gnuplot / makefile.amg < prev    next >
Makefile  |  1993-09-15  |  3KB  |  87 lines

  1. # Makefile for SAS/C 6.1 on the Amiga
  2. #
  3. # $Id: makefile.amg%v 3.50 1993/07/09 05:35:24 woo Exp $
  4. #
  5. #
  6.  
  7. CC = sc
  8.  
  9. # Remove 'MATH=IEEE' if you don't want to use the better Commodore
  10. # math-routines. If you do so, you'll have to change 'scmieee.lib'
  11. # to 'scm.lib' in "linkopt.amg" and likewise on the bf_test target
  12. # line below.
  13.  
  14. OFLAGS = OPT OPTGO OPTPEEP NOOPTINL NOOPTINLOCAL
  15. DEFS   = DEF=AMIGA_SC_6_1 DEF=MEMCPY
  16. COPTS  = DATA=FAR MATH=IEEE IGN=84+85+88+94+100+154+161+217+304
  17. CFLAGS = $(COPTS) $(DEFS) $(OFLAGS)
  18.  
  19. .c.o:
  20.     $(CC) $(CFLAGS) $<
  21.  
  22. OBJS = binary.o bitmap.o command.o contour.o eval.o gnubin.o graph3d.o \
  23.     graphics.o help.o internal.o misc.o parse.o plot.o scanner.o \
  24.     setshow.o specfun.o standard.o term.o util.o version.o 
  25.  
  26. CSOURCE1 = bf_test.c binary.c command.c setshow.c 
  27. CSOURCE2 = help.c gnubin.c graphics.c graph3d.o internal.c 
  28. CSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  29. CSOURCE4 = bitmap.c term.c util.c version.c
  30. CSOURCE5 = term/ai.trm term/amiga.trm term/aed.trm term/atari.trm \
  31.     term/bigfig.trm term/cgi.trm term/corel.trm \
  32.     term/djsvga.trm term/dumb.trm \
  33.     term/dxf.trm term/dxy.trm \
  34.     term/debug.trm term/eepic.trm term/epson.trm term/excl.trm \
  35.     term/fig.trm term/hp26.trm term/hp2648.trm term/hpgl.trm  \
  36.     term/hpljii.trm term/metafont.trm\
  37.     term/apollo.trm term/gpr.trm term/hppj.trm term/compact.c 
  38. CSOURCE6 = term/impcodes.h term/imagen.trm term/next.trm term/object.h \
  39.     term/iris4d.trm term/kyo.trm term/latex.trm term/mif.trm \
  40.     term/pbm.trm term/pc.trm 
  41. CSOURCE7 = term/post.trm term/pstricks.trm term/qms.trm term/regis.trm \
  42.     term/rgip.trm term/sun.trm\
  43.     term/t410x.trm term/tek.trm term/texdraw.trm term/tgif.h\
  44.     term/tgif.trm term/tpic.trm \
  45.     term/unixpc.trm term/unixplot.trm \
  46.     term/v384.trm term/vws.trm term/x11.trm term/xlib.trm
  47. CSOURCE8 = contour.c specfun.c
  48.  
  49.  
  50. all: gnuplot demo/bf_test
  51.  
  52. gnuplot: $(OBJS)
  53.     slink with linkopt.amg
  54.  
  55. demo/bf_test: bf_test.o binary.o
  56.     slink from lib:c.o bf_test.o binary.o to demo/bf_test\
  57.     lib lib:scmieee.lib lib:scnb.lib
  58.     @echo "*N*NRun bf_test in demo subdirectory to make binary demo files*N"
  59.  
  60. bf_test.o: bf_test.c
  61. binary.o: binary.c plot.h
  62. bitmap.o: bitmap.c bitmap.h plot.h
  63. command.o: command.c plot.h setshow.h help.h
  64. contour.o: contour.c plot.h
  65. eval.o: eval.c plot.h
  66. gnubin.o: gnubin.c plot.h setshow.h
  67. help.o: help.c plot.h help.h
  68. internal.o: internal.c plot.h
  69. misc.o: misc.c plot.h setshow.h help.h
  70. parse.o: parse.c plot.h
  71. plot.o: plot.c plot.h setshow.h
  72. scanner.o: scanner.c plot.h
  73. setshow.o: setshow.c plot.h setshow.h
  74. specfun.o: specfun.c plot.h
  75. standard.o: standard.c plot.h
  76. util.o: util.c plot.h
  77. version.o: version.c
  78.  
  79. graph3d.o: graph3d.c plot.h setshow.h
  80.     $(CC) CODE=FAR $(CFLAGS) $<
  81.  
  82. graphics.o: graphics.c plot.h setshow.h
  83.     $(CC) CODE=FAR $(CFLAGS) $<
  84.  
  85. term.o: term.c term.h plot.h setshow.c bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  86.     $(CC) CODE=FAR $(CFLAGS) $<
  87.